<!doctype html>
<html lang="{idioma_js}">
    <head>
        <title>CMS 2.0+ | {titulo} | Link Nacional</title>
        {include_header_view}
        <script>
            $(window).load(function(){
                $('#form_configuracao').wl_Form({
                    dataType: 'json',
                    onSuccess: function (data) {
                        if(data.cod == 999){
                            //$.wl_Alert(data.msg,'success','#content');
                            $.msg(data.msg,{header:data.header,live:10000});
                        } else {
                            //$.wl_Alert(data.msg,'warning','#content');
                            $.msg(data.msg,{header:data.header,live:10000});
                        }
                    }
                });
            });    
        </script>
    </head>
    <body>

        {include_body_header_view}
        {include_body_menu_left_view}


        <section id="content">

            <div class="g12 nodrop">
                <h1>{titulo}</h1>
                <p>{descricao_titulo}</p>
            </div>	

            <div class="g12 widgets">

                <div class="" id="widget_tabs">
                    <!--h3 class="handle">{titulo}</h3-->
                    <form name="form_configuracao" id="form_configuracao" action="{base_cms}{action_settings_gravar}" method="post">
                        <div class="tab">
                            <ul>
                                {tabs}
                                <li><a href="#tabs-{id_cat}">{cat_nome}</a></li>
                                {/tabs}
                            </ul>
                            {tabs2}
                            <div id="tabs-{id_cat}">
                            
                                <div class="tab">
                                    <ul>
                                        {sub_tabs}
                                        <li><a href="#subtabs-{id}">{sub_nome}</a></li>
                                        {/sub_tabs}
                                    </ul>
                                    {divs}
                                    <div id="subtabs-{id}">
                                        <fieldset>
                                            {seq}
                                            <section>
                                                <label for="{nome}">{lang_nome}</label>
                                                <div>
                                                    <input type="text" name="c_input[{input_id}]" id="{nome}" value="{valor}" title="{lang_original_title_nome}" class="g9" required="required"/>
                                                    {tipo}
                                                    <span>{subtitulo}</span>
                                                </div>
                                            </section>
                                            {/seq}
                                        </fieldset>
                                    </div>
                                    {/divs}
                                </div>
                            </div>
                            {/tabs2}
                            <fieldset>
                                <section>
                                    <div>
                                        <button class="reset">{lang_reset}</button>
                                        <button class="submit" name="sttings_submit" id="sttings_submit">{lang_submit}</button>
                                    </div>
                                </section>
                            </fieldset>
                            <div class="clear"></div>
                        </div>
                    </form>

                </div>

            </div>
        </section>
        <footer>
            {include_footer_view}
        </footer>
    </body>
</html>